home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000356_news@newsmaster….columbia.edu _Wed Sep 17 10:59:40 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA22439
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 17 Sep 1997 10:59:40 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA05354
  7.     for kermit.misc@watsun; Wed, 17 Sep 1997 10:59:39 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: local variable status
  12. Date: 17 Sep 1997 14:59:33 GMT
  13. Organization: Columbia University
  14. Lines: 35
  15. Message-ID: <5vor8l$42n$1@apakabar.cc.columbia.edu>
  16. References: <1997Sep17.120124@merlin.ecid.cig.mot.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7679
  19.  
  20. In article <1997Sep17.120124@merlin.ecid.cig.mot.com>,
  21. Robert Cornell <cornellr@merlin.ecid.cig.mot.com> wrote:
  22. : Could someone explain the following:
  23. : [/home/cornellr/bin] C-Kermit>echo \v(local)
  24. : 0
  25. : [/home/cornellr/bin] C-Kermit> ; escape back
  26. : (Back at pluto)
  27. : [/home/cornellr] C-Kermit>echo \v(local)
  28. : 1
  29. : [/home/cornellr] C-Kermit>c
  30. : ...
  31. : [/home/cornellr/bin] C-Kermit>quit
  32. : >exit
  33. : Communications disconnect (Back at pluto)
  34. : [/home/cornellr] C-Kermit>echo \v(local)
  35. : 1
  36. : [/home/cornellr] C-Kermit>set host  <-- (see below)
  37. :  Closing connection
  38. : [/home/cornellr] C-Kermit>echo \v(local)
  39. : 1
  40. : I may have misinterpreted what LOCAL does, I was under the
  41. : impression that it returned 1 if kermit has an outgoing connection,
  42. : 0 otherwise.
  43. You're right, it should, and in most cases it does.  You have evidently
  44. hit upon a case where it doesn't, so I'll have to fix it.  Workaround:
  45. if you say "set line" rather than "set host" at the spot marked above,
  46. \v(local) will behave as expected.
  47.  
  48. Thanks for the report.
  49.  
  50. - Frank